--- a/arch/mips/Kbuild.platforms
+++ b/arch/mips/Kbuild.platforms
@@ -26,6 +26,7 @@
 platforms += pmcs-msp71xx
 platforms += pnx833x
 platforms += ralink
+platforms += realtek
 platforms += rb532
 platforms += sgi-ip22
 platforms += sgi-ip27
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1008,6 +1008,27 @@
 	help
 	  This option supports guest running under ????
 
+config REALTEK
+	bool "Realtek RLX based SoC support"
+	select BOOT_RAW
+	select DMA_NONCOHERENT
+	select IRQ_MIPS_CPU
+	select IRQ_DOMAIN
+	select HW_HAS_PCI
+	select MIPS_MACHINE
+	select HAVE_CLK
+	select COMMON_CLK
+	select CLKDEV_LOOKUP
+	select GENERIC_CSUM
+	select ARCH_REQUIRE_GPIOLIB
+	select SYS_HAS_CPU_R3000
+	select SYS_SUPPORTS_BIG_ENDIAN
+	select SYS_SUPPORTS_MIPS16
+	select SYS_SUPPORTS_32BIT_KERNEL
+	select SYS_HAS_EARLY_PRINTK
+	help
+	  Support for Realtek RLX SoC based boards
+
 endchoice
 
 source "arch/mips/alchemy/Kconfig"
@@ -1035,6 +1056,7 @@
 source "arch/mips/netlogic/Kconfig"
 source "arch/mips/paravirt/Kconfig"
 source "arch/mips/xilfpga/Kconfig"
+source "arch/mips/realtek/Kconfig"
 
 endmenu
 
--- a/arch/mips/pci/Makefile
+++ b/arch/mips/pci/Makefile
@@ -26,6 +26,7 @@
 obj-$(CONFIG_SOC_AR71XX)	+= pci-ar71xx.o
 obj-$(CONFIG_PCI_AR724X)	+= pci-ar724x.o
 obj-$(CONFIG_MIPS_PCI_VIRTIO)	+= pci-virtio-guest.o
+obj-$(CONFIG_REALTEK)		+= pci-realtek.o
 #
 # These are still pretty much in the old state, watch, go blind.
 #
